package com.dc.designPattern._7_decorator.impl;

/**
 * Description: 装饰者模式_被装饰类抽象类_Coffee 抽象类
 * @author: gdc
 * @date: 2021/3/14
 * @version 1.0
 */
public class Coffee extends Drink {

    @Override
    public float cost() {
        return super.getPrice();
    }
}
